<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>api_shim.core.shared_data</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;api_shim ::
        <a href="api_shim.core-module.html">Package&nbsp;core</a> ::
        Module&nbsp;shared_data
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="api_shim.core.shared_data-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="api_shim.core.shared_data-module.html">Module api_shim.core.shared_data</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># Copyright 2011 the original author or authors.</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#      http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module api_shim.vertx=api_shim.vertx-module.html"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-0', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-1" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-1', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Package api_shim.core=api_shim.core-module.html"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-2', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module api_shim.core.buffer=api_shim.core.buffer-module.html"><a title="api_shim.core.buffer" class="py-name" href="#" onclick="return doclink('link-3', 'buffer', 'link-3');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Class api_shim.core.buffer.Buffer=api_shim.core.buffer.Buffer-class.html"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-4', 'Buffer', 'link-4');">Buffer</a></tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-5" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-5', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Module api_shim.core.javautils=api_shim.core.javautils-module.html"><a title="api_shim.core.javautils" class="py-name" href="#" onclick="return doclink('link-6', 'javautils', 'link-6');">javautils</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Function api_shim.core.javautils.map_from_java()=api_shim.core.javautils-module.html#map_from_java"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-7', 'map_from_java', 'link-7');">map_from_java</a></tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-8', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="api_shim.core.buffer" class="py-name" href="#" onclick="return doclink('link-9', 'buffer', 'link-3');">buffer</a></tt> <tt class="py-keyword">import</tt> <tt id="link-10" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-10', 'Buffer', 'link-4');">Buffer</a></tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"Scott Horn"</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt id="link-11" class="py-name" targets="Variable api_shim.core.buffer.__email__=api_shim.core.buffer-module.html#__email__,Variable api_shim.core.event_bus.__email__=api_shim.core.event_bus-module.html#__email__,Variable api_shim.core.file_system.__email__=api_shim.core.file_system-module.html#__email__,Variable api_shim.core.handlers.__email__=api_shim.core.handlers-module.html#__email__,Variable api_shim.core.http.__email__=api_shim.core.http-module.html#__email__,Variable api_shim.core.javautils.__email__=api_shim.core.javautils-module.html#__email__,Variable api_shim.core.net.__email__=api_shim.core.net-module.html#__email__,Variable api_shim.core.parsetools.__email__=api_shim.core.parsetools-module.html#__email__,Variable api_shim.core.shared_data.__email__=api_shim.core.shared_data-module.html#__email__,Variable api_shim.core.sock_js.__email__=api_shim.core.sock_js-module.html#__email__,Variable api_shim.core.ssl_support.__email__=api_shim.core.ssl_support-module.html#__email__,Variable api_shim.core.streams.__email__=api_shim.core.streams-module.html#__email__,Variable api_shim.core.tcp_support.__email__=api_shim.core.tcp_support-module.html#__email__,Variable api_shim.vertx.__email__=api_shim.vertx-module.html#__email__"><a title="api_shim.core.buffer.__email__
api_shim.core.event_bus.__email__
api_shim.core.file_system.__email__
api_shim.core.handlers.__email__
api_shim.core.http.__email__
api_shim.core.javautils.__email__
api_shim.core.net.__email__
api_shim.core.parsetools.__email__
api_shim.core.shared_data.__email__
api_shim.core.sock_js.__email__
api_shim.core.ssl_support.__email__
api_shim.core.streams.__email__
api_shim.core.tcp_support.__email__
api_shim.vertx.__email__" class="py-name" href="#" onclick="return doclink('link-11', '__email__', 'link-11');">__email__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"scott@hornmicro.com"</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt id="link-12" class="py-name" targets="Variable api_shim.core.buffer.__credits__=api_shim.core.buffer-module.html#__credits__,Variable api_shim.core.event_bus.__credits__=api_shim.core.event_bus-module.html#__credits__,Variable api_shim.core.file_system.__credits__=api_shim.core.file_system-module.html#__credits__,Variable api_shim.core.handlers.__credits__=api_shim.core.handlers-module.html#__credits__,Variable api_shim.core.http.__credits__=api_shim.core.http-module.html#__credits__,Variable api_shim.core.javautils.__credits__=api_shim.core.javautils-module.html#__credits__,Variable api_shim.core.net.__credits__=api_shim.core.net-module.html#__credits__,Variable api_shim.core.parsetools.__credits__=api_shim.core.parsetools-module.html#__credits__,Variable api_shim.core.shared_data.__credits__=api_shim.core.shared_data-module.html#__credits__,Variable api_shim.core.sock_js.__credits__=api_shim.core.sock_js-module.html#__credits__,Variable api_shim.core.ssl_support.__credits__=api_shim.core.ssl_support-module.html#__credits__,Variable api_shim.core.streams.__credits__=api_shim.core.streams-module.html#__credits__,Variable api_shim.core.tcp_support.__credits__=api_shim.core.tcp_support-module.html#__credits__,Variable api_shim.vertx.__credits__=api_shim.vertx-module.html#__credits__"><a title="api_shim.core.buffer.__credits__
api_shim.core.event_bus.__credits__
api_shim.core.file_system.__credits__
api_shim.core.handlers.__credits__
api_shim.core.http.__credits__
api_shim.core.javautils.__credits__
api_shim.core.net.__credits__
api_shim.core.parsetools.__credits__
api_shim.core.shared_data.__credits__
api_shim.core.sock_js.__credits__
api_shim.core.ssl_support.__credits__
api_shim.core.streams.__credits__
api_shim.core.tcp_support.__credits__
api_shim.vertx.__credits__" class="py-name" href="#" onclick="return doclink('link-12', '__credits__', 'link-12');">__credits__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"Based entirely on work by Tim Fox http://tfox.org"</tt> </tt>
<a name="SharedData"></a><div id="SharedData-def"><a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt> <a class="py-toggle" href="#" id="SharedData-toggle" onclick="return toggle('SharedData');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html">SharedData</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SharedData-expanded"><a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sometimes it is desirable to share immutable data between different event loops, for example to implement a</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring">    cache of data.</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-docstring">    This class allows instances of shared data structures to be looked up and used from different event loops.</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-docstring">    The data structures themselves will only allow certain data types to be stored into them. This shields the</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">    user from worrying about any thread safety issues might occur if mutable objects were shared between event loops.</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.shared_data"></a><div id="SharedData.shared_data-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="SharedData.shared_data-toggle" onclick="return toggle('SharedData.shared_data');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#shared_data">shared_data</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.shared_data-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.shared_data-expanded"><a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-13', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-14', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">sharedData</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.get_hash"></a><div id="SharedData.get_hash-def"><a name="L39"></a><tt class="py-lineno"> 39</tt> <a class="py-toggle" href="#" id="SharedData.get_hash-toggle" onclick="return toggle('SharedData.get_hash');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#get_hash">get_hash</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.get_hash-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.get_hash-expanded"><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return a Hash with the specific name. All invocations of this method with the same value of name</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-docstring">        are guaranteed to return the same Hash instance.</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">        @param key: Get the hash with the key.</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt class="py-docstring">        @return: the hash.</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-name">map</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name" targets="Class api_shim.core.shared_data.SharedData=api_shim.core.shared_data.SharedData-class.html"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-15', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Module api_shim.core.shared_data=api_shim.core.shared_data-module.html,Static Method api_shim.core.shared_data.SharedData.shared_data()=api_shim.core.shared_data.SharedData-class.html#shared_data"><a title="api_shim.core.shared_data
api_shim.core.shared_data.SharedData.shared_data" class="py-name" href="#" onclick="return doclink('link-16', 'shared_data', 'link-16');">shared_data</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">getMap</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-17" class="py-name" targets="Class api_shim.core.shared_data.SharedHash=api_shim.core.shared_data.SharedHash-class.html"><a title="api_shim.core.shared_data.SharedHash" class="py-name" href="#" onclick="return doclink('link-17', 'SharedHash', 'link-17');">SharedHash</a></tt><tt class="py-op">(</tt><tt class="py-name">map</tt><tt class="py-op">)</tt> </tt>
</div><a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.get_set"></a><div id="SharedData.get_set-def"><a name="L52"></a><tt class="py-lineno"> 52</tt> <a class="py-toggle" href="#" id="SharedData.get_set-toggle" onclick="return toggle('SharedData.get_set');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#get_set">get_set</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.get_set-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.get_set-expanded"><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return a Set with the specific name. All invocations of this method with the same value of name</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt class="py-docstring">        are guaranteed to return the same Set instance.</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt class="py-docstring">        @param key: Get the set with the key.</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt class="py-docstring">        @return: the shared set.</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">        <tt class="py-name">set_</tt> <tt class="py-op">=</tt> <tt id="link-18" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-18', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="api_shim.core.shared_data
api_shim.core.shared_data.SharedData.shared_data" class="py-name" href="#" onclick="return doclink('link-19', 'shared_data', 'link-16');">shared_data</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">getSet</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-20" class="py-name" targets="Class api_shim.core.shared_data.SharedSet=api_shim.core.shared_data.SharedSet-class.html"><a title="api_shim.core.shared_data.SharedSet" class="py-name" href="#" onclick="return doclink('link-20', 'SharedSet', 'link-20');">SharedSet</a></tt><tt class="py-op">(</tt><tt class="py-name">set_</tt><tt class="py-op">)</tt> </tt>
</div><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line"> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.remove_hash"></a><div id="SharedData.remove_hash-def"><a name="L65"></a><tt class="py-lineno"> 65</tt> <a class="py-toggle" href="#" id="SharedData.remove_hash-toggle" onclick="return toggle('SharedData.remove_hash');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#remove_hash">remove_hash</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.remove_hash-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.remove_hash-expanded"><a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-docstring">"""Remove the hash</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"><tt class="py-docstring">        @param key: The key of the hash.</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-21" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-21', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="api_shim.core.shared_data
api_shim.core.shared_data.SharedData.shared_data" class="py-name" href="#" onclick="return doclink('link-22', 'shared_data', 'link-16');">shared_data</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">removeMap</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
</div><a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.remove_set"></a><div id="SharedData.remove_set-def"><a name="L74"></a><tt class="py-lineno"> 74</tt> <a class="py-toggle" href="#" id="SharedData.remove_set-toggle" onclick="return toggle('SharedData.remove_set');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#remove_set">remove_set</a><tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.remove_set-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.remove_set-expanded"><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-docstring">"""Remove the set</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"><tt class="py-docstring">        @param key: The key of the set.</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-23" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-23', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="api_shim.core.shared_data
api_shim.core.shared_data.SharedData.shared_data" class="py-name" href="#" onclick="return doclink('link-24', 'shared_data', 'link-16');">shared_data</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">removeSet</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="SharedData.check_obj"></a><div id="SharedData.check_obj-def"><a name="L83"></a><tt class="py-lineno"> 83</tt> <a class="py-toggle" href="#" id="SharedData.check_obj-toggle" onclick="return toggle('SharedData.check_obj');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedData-class.html#check_obj">check_obj</a><tt class="py-op">(</tt><tt class="py-param">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedData.check_obj-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedData.check_obj-expanded"><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-docstring">"""Convert to corresponding Java objects</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"><tt class="py-docstring">        and make copies where appropriate (the underlying java map will also make copies for some data types too)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt id="link-25" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-25', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">            <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method api_shim.core.buffer.Buffer._to_java_buffer()=api_shim.core.buffer.Buffer-class.html#_to_java_buffer"><a title="api_shim.core.buffer.Buffer._to_java_buffer" class="py-name" href="#" onclick="return doclink('link-26', '_to_java_buffer', 'link-26');">_to_java_buffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">obj</tt> </tt>
</div></div><a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"> </tt>
<a name="SharedHash"></a><div id="SharedHash-def"><a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt> <a class="py-toggle" href="#" id="SharedHash-toggle" onclick="return toggle('SharedHash');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html">SharedHash</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SharedHash-expanded"><a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"> </tt>
<a name="SharedHash.__init__"></a><div id="SharedHash.__init__-def"><a name="L94"></a><tt class="py-lineno"> 94</tt> <a class="py-toggle" href="#" id="SharedHash.__init__-toggle" onclick="return toggle('SharedHash.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">hash</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.__init__-expanded"><a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">      <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt> <tt class="py-op">=</tt> <tt class="py-name">hash</tt> </tt>
</div><a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"> </tt>
<a name="SharedHash.__setitem__"></a><div id="SharedHash.__setitem__-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="SharedHash.__setitem__-toggle" onclick="return toggle('SharedHash.__setitem__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#__setitem__">__setitem__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.__setitem__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.__setitem__-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-27', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Static Method api_shim.core.shared_data.SharedData.check_obj()=api_shim.core.shared_data.SharedData-class.html#check_obj"><a title="api_shim.core.shared_data.SharedData.check_obj" class="py-name" href="#" onclick="return doclink('link-28', 'check_obj', 'link-28');">check_obj</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-name">val</tt> <tt class="py-op">=</tt> <tt id="link-29" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-29', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="api_shim.core.shared_data.SharedData.check_obj" class="py-name" href="#" onclick="return doclink('link-30', 'check_obj', 'link-28');">check_obj</a></tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name" targets="Method api_shim.core.http.HttpClient.put()=api_shim.core.http.HttpClient-class.html#put,Method api_shim.core.http.RouteMatcher.put()=api_shim.core.http.RouteMatcher-class.html#put"><a title="api_shim.core.http.HttpClient.put
api_shim.core.http.RouteMatcher.put" class="py-name" href="#" onclick="return doclink('link-31', 'put', 'link-31');">put</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
</div><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">     </tt>
<a name="SharedHash.__getitem__"></a><div id="SharedHash.__getitem__-def"><a name="L102"></a><tt class="py-lineno">102</tt> <a class="py-toggle" href="#" id="SharedHash.__getitem__-toggle" onclick="return toggle('SharedHash.__getitem__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#__getitem__">__getitem__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.__getitem__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.__getitem__-expanded"><a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method api_shim.core.http.HttpClient.get()=api_shim.core.http.HttpClient-class.html#get,Method api_shim.core.http.RouteMatcher.get()=api_shim.core.http.RouteMatcher-class.html#get"><a title="api_shim.core.http.HttpClient.get
api_shim.core.http.RouteMatcher.get" class="py-name" href="#" onclick="return doclink('link-32', 'get', 'link-32');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-33', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-34', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="api_shim.core.buffer" class="py-name" href="#" onclick="return doclink('link-35', 'buffer', 'link-3');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-36', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">            <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt id="link-37" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-37', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">obj</tt> </tt>
</div><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">     </tt>
<a name="SharedHash.__eq__"></a><div id="SharedHash.__eq__-def"><a name="L108"></a><tt class="py-lineno">108</tt> <a class="py-toggle" href="#" id="SharedHash.__eq__-toggle" onclick="return toggle('SharedHash.__eq__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#__eq__">__eq__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>         </tt>
</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-38" class="py-name" targets="Method api_shim.core.file_system.FileProps.other()=api_shim.core.file_system.FileProps-class.html#other"><a title="api_shim.core.file_system.FileProps.other" class="py-name" href="#" onclick="return doclink('link-38', 'other', 'link-38');">other</a></tt><tt class="py-op">,</tt> <tt id="link-39" class="py-name"><a title="api_shim.core.shared_data.SharedHash" class="py-name" href="#" onclick="return doclink('link-39', 'SharedHash', 'link-17');">SharedHash</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">equals</tt><tt class="py-op">(</tt><tt id="link-40" class="py-name"><a title="api_shim.core.file_system.FileProps.other" class="py-name" href="#" onclick="return doclink('link-40', 'other', 'link-38');">other</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method api_shim.core.shared_data.SharedHash._to_java_map()=api_shim.core.shared_data.SharedHash-class.html#_to_java_map"><a title="api_shim.core.shared_data.SharedHash._to_java_map" class="py-name" href="#" onclick="return doclink('link-41', '_to_java_map', 'link-41');">_to_java_map</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">     </tt>
<a name="SharedHash.__str__"></a><div id="SharedHash.__str__-def"><a name="L114"></a><tt class="py-lineno">114</tt> <a class="py-toggle" href="#" id="SharedHash.__str__-toggle" onclick="return toggle('SharedHash.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.__str__-expanded"><a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-42" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-42', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name" targets="Method api_shim.core.shared_data.SharedHash.__str__()=api_shim.core.shared_data.SharedHash-class.html#__str__,Method api_shim.core.shared_data.SharedSet.__str__()=api_shim.core.shared_data.SharedSet-class.html#__str__"><a title="api_shim.core.shared_data.SharedHash.__str__
api_shim.core.shared_data.SharedSet.__str__" class="py-name" href="#" onclick="return doclink('link-43', '__str__', 'link-43');">__str__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"> </tt>
<a name="SharedHash.keys"></a><div id="SharedHash.keys-def"><a name="L117"></a><tt class="py-lineno">117</tt> <a class="py-toggle" href="#" id="SharedHash.keys-toggle" onclick="return toggle('SharedHash.keys');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#keys">keys</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.keys-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.keys-expanded"><a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-44" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-44', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name" targets="Method api_shim.core.http.MultiMap.keys()=api_shim.core.http.MultiMap-class.html#keys,Method api_shim.core.shared_data.SharedHash.keys()=api_shim.core.shared_data.SharedHash-class.html#keys"><a title="api_shim.core.http.MultiMap.keys
api_shim.core.shared_data.SharedHash.keys" class="py-name" href="#" onclick="return doclink('link-45', 'keys', 'link-45');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"> </tt>
<a name="SharedHash.iteritems"></a><div id="SharedHash.iteritems-def"><a name="L120"></a><tt class="py-lineno">120</tt> <a class="py-toggle" href="#" id="SharedHash.iteritems-toggle" onclick="return toggle('SharedHash.iteritems');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#iteritems">iteritems</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.iteritems-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.iteritems-expanded"><a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-46" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-46', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name" targets="Method api_shim.core.shared_data.SharedHash.iteritems()=api_shim.core.shared_data.SharedHash-class.html#iteritems"><a title="api_shim.core.shared_data.SharedHash.iteritems" class="py-name" href="#" onclick="return doclink('link-47', 'iteritems', 'link-47');">iteritems</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"> </tt>
<a name="SharedHash.items"></a><div id="SharedHash.items-def"><a name="L123"></a><tt class="py-lineno">123</tt> <a class="py-toggle" href="#" id="SharedHash.items-toggle" onclick="return toggle('SharedHash.items');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#items">items</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash.items-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash.items-expanded"><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-48" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-48', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name" targets="Method api_shim.core.shared_data.SharedHash.items()=api_shim.core.shared_data.SharedHash-class.html#items"><a title="api_shim.core.shared_data.SharedHash.items" class="py-name" href="#" onclick="return doclink('link-49', 'items', 'link-49');">items</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"> </tt>
<a name="SharedHash._to_java_map"></a><div id="SharedHash._to_java_map-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="SharedHash._to_java_map-toggle" onclick="return toggle('SharedHash._to_java_map');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedHash-class.html#_to_java_map">_to_java_map</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedHash._to_java_map-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedHash._to_java_map-expanded"><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt> </tt>
</div></div><a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line"> </tt>
<a name="SharedSet"></a><div id="SharedSet-def"><a name="L129"></a><tt class="py-lineno">129</tt> <a class="py-toggle" href="#" id="SharedSet-toggle" onclick="return toggle('SharedSet');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html">SharedSet</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SharedSet-expanded"><a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.__init__"></a><div id="SharedSet.__init__-def"><a name="L131"></a><tt class="py-lineno">131</tt> <a class="py-toggle" href="#" id="SharedSet.__init__-toggle" onclick="return toggle('SharedSet.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">java_set</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.__init__-expanded"><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt> <tt class="py-op">=</tt> <tt class="py-name">java_set</tt> </tt>
</div><a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.__eq__"></a><div id="SharedSet.__eq__-def"><a name="L134"></a><tt class="py-lineno">134</tt> <a class="py-toggle" href="#" id="SharedSet.__eq__-toggle" onclick="return toggle('SharedSet.__eq__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#__eq__">__eq__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.__eq__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.__eq__-expanded"><a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-50" class="py-name"><a title="api_shim.core.file_system.FileProps.other" class="py-name" href="#" onclick="return doclink('link-50', 'other', 'link-38');">other</a></tt><tt class="py-op">,</tt> <tt id="link-51" class="py-name"><a title="api_shim.core.shared_data.SharedSet" class="py-name" href="#" onclick="return doclink('link-51', 'SharedSet', 'link-20');">SharedSet</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">hashCode</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt id="link-52" class="py-name"><a title="api_shim.core.file_system.FileProps.other" class="py-name" href="#" onclick="return doclink('link-52', 'other', 'link-38');">other</a></tt><tt class="py-op">.</tt><tt id="link-53" class="py-name" targets="Method api_shim.core.shared_data.SharedSet._to_java_set()=api_shim.core.shared_data.SharedSet-class.html#_to_java_set"><a title="api_shim.core.shared_data.SharedSet._to_java_set" class="py-name" href="#" onclick="return doclink('link-53', '_to_java_set', 'link-53');">_to_java_set</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">hashCode</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.__len__"></a><div id="SharedSet.__len__-def"><a name="L140"></a><tt class="py-lineno">140</tt> <a class="py-toggle" href="#" id="SharedSet.__len__-toggle" onclick="return toggle('SharedSet.__len__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#__len__">__len__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.__len__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.__len__-expanded"><a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name" targets="Method api_shim.core.file_system.FileProps.size()=api_shim.core.file_system.FileProps-class.html#size,Method api_shim.core.http.HttpServerFileUpload.size()=api_shim.core.http.HttpServerFileUpload-class.html#size,Method api_shim.core.http.MultiMap.size()=api_shim.core.http.MultiMap-class.html#size,Method api_shim.core.shared_data.SharedSet.size()=api_shim.core.shared_data.SharedSet-class.html#size"><a title="api_shim.core.file_system.FileProps.size
api_shim.core.http.HttpServerFileUpload.size
api_shim.core.http.MultiMap.size
api_shim.core.shared_data.SharedSet.size" class="py-name" href="#" onclick="return doclink('link-54', 'size', 'link-54');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.__str__"></a><div id="SharedSet.__str__-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="SharedSet.__str__-toggle" onclick="return toggle('SharedSet.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.__str__-expanded"><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-55" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-55', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="api_shim.core.shared_data.SharedHash.__str__
api_shim.core.shared_data.SharedSet.__str__" class="py-name" href="#" onclick="return doclink('link-56', '__str__', 'link-43');">__str__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.__iter__"></a><div id="SharedSet.__iter__-def"><a name="L146"></a><tt class="py-lineno">146</tt> <a class="py-toggle" href="#" id="SharedSet.__iter__-toggle" onclick="return toggle('SharedSet.__iter__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#__iter__">__iter__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.__iter__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.__iter__-expanded"><a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-57" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-57', 'map_from_java', 'link-7');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name" targets="Method api_shim.core.shared_data.SharedSet.__iter__()=api_shim.core.shared_data.SharedSet-class.html#__iter__"><a title="api_shim.core.shared_data.SharedSet.__iter__" class="py-name" href="#" onclick="return doclink('link-58', '__iter__', 'link-58');">__iter__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.add"></a><div id="SharedSet.add-def"><a name="L149"></a><tt class="py-lineno">149</tt> <a class="py-toggle" href="#" id="SharedSet.add-toggle" onclick="return toggle('SharedSet.add');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#add">add</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.add-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.add-expanded"><a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-docstring">""" Add an object to the set</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"><tt class="py-docstring">        @param obj: The object to add</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"><tt class="py-docstring">        @return: self</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt id="link-59" class="py-name"><a title="api_shim.core.shared_data.SharedData" class="py-name" href="#" onclick="return doclink('link-59', 'SharedData', 'link-15');">SharedData</a></tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="api_shim.core.shared_data.SharedData.check_obj" class="py-name" href="#" onclick="return doclink('link-60', 'check_obj', 'link-28');">check_obj</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Method api_shim.core.http.MultiMap.add()=api_shim.core.http.MultiMap-class.html#add,Method api_shim.core.shared_data.SharedSet.add()=api_shim.core.shared_data.SharedSet-class.html#add"><a title="api_shim.core.http.MultiMap.add
api_shim.core.shared_data.SharedSet.add" class="py-name" href="#" onclick="return doclink('link-61', 'add', 'link-61');">add</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.clear"></a><div id="SharedSet.clear-def"><a name="L160"></a><tt class="py-lineno">160</tt> <a class="py-toggle" href="#" id="SharedSet.clear-toggle" onclick="return toggle('SharedSet.clear');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#clear">clear</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.clear-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.clear-expanded"><a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">        <tt class="py-docstring">"""Clear the set"""</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name" targets="Method api_shim.core.http.MultiMap.clear()=api_shim.core.http.MultiMap-class.html#clear,Method api_shim.core.shared_data.SharedSet.clear()=api_shim.core.shared_data.SharedSet-class.html#clear"><a title="api_shim.core.http.MultiMap.clear
api_shim.core.shared_data.SharedSet.clear" class="py-name" href="#" onclick="return doclink('link-62', 'clear', 'link-62');">clear</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.delete"></a><div id="SharedSet.delete-def"><a name="L164"></a><tt class="py-lineno">164</tt> <a class="py-toggle" href="#" id="SharedSet.delete-toggle" onclick="return toggle('SharedSet.delete');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#delete">delete</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.delete-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.delete-expanded"><a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">        <tt class="py-docstring">"""Delete an object from the set</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line"><tt class="py-docstring">        @param obj: the object to delete</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name" targets="Method api_shim.core.http.MultiMap.remove()=api_shim.core.http.MultiMap-class.html#remove"><a title="api_shim.core.http.MultiMap.remove" class="py-name" href="#" onclick="return doclink('link-63', 'remove', 'link-63');">remove</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
</div><a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line"> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.each"></a><div id="SharedSet.each-def"><a name="L173"></a><tt class="py-lineno">173</tt> <a class="py-toggle" href="#" id="SharedSet.each-toggle" onclick="return toggle('SharedSet.each');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#each">each</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">func</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.each-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.each-expanded"><a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">        <tt class="py-docstring">"""Call the func for every element of the set</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line"><tt class="py-docstring">        @param func: The function to call.</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">        <tt class="py-name">iter</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">iterator</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-keyword">while</tt> <tt class="py-name">iter</tt><tt class="py-op">.</tt><tt class="py-name">hasNext</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt class="py-name">iter</tt><tt class="py-op">.</tt><tt class="py-name">next</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-64', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-65', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="api_shim.core.buffer" class="py-name" href="#" onclick="return doclink('link-66', 'buffer', 'link-3');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-67', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">                <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt id="link-68" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-68', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">            <tt class="py-name">func</tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
</div><a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.empty"></a><div id="SharedSet.empty-def"><a name="L186"></a><tt class="py-lineno">186</tt> <a class="py-toggle" href="#" id="SharedSet.empty-toggle" onclick="return toggle('SharedSet.empty');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#empty">empty</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.empty-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.empty-expanded"><a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt class="py-docstring">"""returns True if the set is empty"""</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">isEmpty</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.include"></a><div id="SharedSet.include-def"><a name="L190"></a><tt class="py-lineno">190</tt> <a class="py-toggle" href="#" id="SharedSet.include-toggle" onclick="return toggle('SharedSet.include');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#include">include</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.include-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.include-expanded"><a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">        <tt class="py-docstring">"""Does the set contain an element?</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line"><tt class="py-docstring">        Keyword arguments:</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line"><tt class="py-docstring">        @param obj: the object to check if the set contains</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line"><tt class="py-docstring">        @return: True if the object is contained in the set</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt id="link-69" class="py-name"><a title="api_shim.core.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-69', 'Buffer', 'link-4');">Buffer</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">            <tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="api_shim.core.buffer.Buffer._to_java_buffer" class="py-name" href="#" onclick="return doclink('link-70', '_to_java_buffer', 'link-26');">_to_java_buffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Method api_shim.core.http.MultiMap.contains()=api_shim.core.http.MultiMap-class.html#contains"><a title="api_shim.core.http.MultiMap.contains" class="py-name" href="#" onclick="return doclink('link-71', 'contains', 'link-71');">contains</a></tt><tt class="py-op">(</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt> </tt>
</div><a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line"> </tt>
<a name="SharedSet.size"></a><div id="SharedSet.size-def"><a name="L202"></a><tt class="py-lineno">202</tt> <a class="py-toggle" href="#" id="SharedSet.size-toggle" onclick="return toggle('SharedSet.size');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#size">size</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet.size-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet.size-expanded"><a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">        <tt class="py-docstring">"""returns the number of elements in the set"""</tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name"><a title="api_shim.core.file_system.FileProps.size
api_shim.core.http.HttpServerFileUpload.size
api_shim.core.http.MultiMap.size
api_shim.core.shared_data.SharedSet.size" class="py-name" href="#" onclick="return doclink('link-72', 'size', 'link-54');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line"> </tt>
<a name="SharedSet._to_java_set"></a><div id="SharedSet._to_java_set-def"><a name="L206"></a><tt class="py-lineno">206</tt> <a class="py-toggle" href="#" id="SharedSet._to_java_set-toggle" onclick="return toggle('SharedSet._to_java_set');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.shared_data.SharedSet-class.html#_to_java_set">_to_java_set</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SharedSet._to_java_set-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SharedSet._to_java_set-expanded"><a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt> </tt>
</div></div><a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Wed Jul 17 20:25:01 2013
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>